@input-placeholder-color: rgba(var(--td-brand-color), 0.5);
@input-placeholder-fontSize: 20px;

.login-wrapper {
  width: 100vw;
  height: 100vh;
  background: #369;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .title {
    font-size: 36px;
    color: #fafafa;
    line-height: 36px;
    margin-bottom: 20px;
  }

  .bg-wrap {
    width: 580px;
    height: 604px;
    background-color: var(--td-brand-color);
    border-radius: 8px;
    padding: 8px;
    box-sizing: border-box;

    .wrap {
      width: 100%;
      height: 100%;
      border-radius: 10px;
      background-color: #1d1f25;
      padding: 58px 48px;

      .text {
        font-size: 22px;
        line-height: 38px;
        color: var(--td-brand-color);
        text-align: center;
      }

      :deep(.t-form) {
        width: 100%;
        margin-top: 64px;

        .t-form__item {
          margin-bottom: 28px;

          .t-input {
            height: 62px;
            border-radius: 6px;
            background-color: transparent;
            border-color: var(--td-brand-color);
            box-shadow: 0 0 6px var(--td-brand-color) inset;

            &.t-input--focused {
              .input-icon {
                color: var(--td-brand-color);
              }
            }

            .t-input__inner {
              color: var(--td-brand-color);
              font-size: 20px;

              &::placeholder {
                color: @input-placeholder-color;
                font-size: @input-placeholder-fontSize;
              }
            }

            .input-icon {
              fill: currentcolor;
              width: 24px;
              height: 24px;
              color: rgba(#3da295, 0.5);
            }
          }

          .t-icon {
            color: var(--td-brand-color);
          }

          // 验证码
          .code-wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;

            .t-input__wrap {
              width: 216px;
            }

            .code-img {
              width: 146px;
              height: 62px;
              background-color: #fff;
              border-radius: 6px;
              cursor: pointer;
            }

            .code-text {
              font-size: 20px;
              color: var(--td-brand-color);
              cursor: pointer;
            }
          }

          // 登录按钮
          .login-btn {
            width: 100%;
            height: 62px;
            border-radius: 6px;
            color: #fff;
            font-size: 20px;
            margin-top: 20px;
            letter-spacing: 2px;
          }
        }
      }
    }
  }
}
